package designmode.headfirst.decorator.condiment;

import designmode.headfirst.decorator.beverage.Beverage;

/**
 * 调料
 * <p>Filename: designmode.headfirst.decorator.seasoning.seasoning.java</p>
 * <p>Date: 2020-10-15 16:33.</p>
 *
 * @author <a href="mailto:liufuguo@qianmi.com">OF3581-刘富国</a>
 * @version 0.1.0
 */
public abstract class Condiment implements Beverage {

    private int weight;

    /**
     * 设置重量
     *
     * @param gram xx克
     */
    void setWeight(int gram) {
        this.weight = gram;
    }
}
